package com.hoshiicloud.commissioncalculation.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author ygd
 * @title: CashApplyParam
 * @projectName hoshiicloud
 * @description: 提现申请参数
 * @date 2019/9/9
 */
@Data
@Builder
public class CashApplyParam {

    /**
     * 租合ID
     */
    @ApiModelProperty(value = "租合ID")
    @NotNull(message = "租合ID不能为空")
    private Long companyid;

    /**
     * 平台ID
     */
    @ApiModelProperty(value = "平台ID")
    @NotNull(message = "平台ID不能为空")
    private Long platformid;

    /**
     * 店铺ID
     */
    @ApiModelProperty(value = "店铺ID")
    @NotNull(message = "店铺ID不能为空")
    private Long storeid;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    @NotNull(message = "用户id不能为空")
    private Long memberId;

    /**
     * 金额
     */
    @ApiModelProperty(value = "金额")
    @NotNull(message = "金额不能为空")
    private BigDecimal amount;

    /**
     * 银行卡号
     */
    @ApiModelProperty(value = "银行卡号")
    @NotNull(message = "银行卡号不能为空")
    private String cardNo;

    /**
     * 银行id
     */
    @ApiModelProperty(value = "银行id")
    @NotNull(message = "银行id不能为空")
    private Long bankId;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    @NotNull(message = "创建人不能为空")
    private String createdby;
}
